package com.example.seey2023.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@TableName("hesuan")
public class HeSuan {
    @TableId(value = "id" , type = IdType.AUTO)
    private Integer id;

    private String name;
    private Integer age;
    private String phone;
    private String card;

    private String type;// 核酸检测类型：混检||个检
    private String result;// 核酸结果：阴性||阳性

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime; // 核酸检测时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime; // 核酸报告生成时间
    private String dispose;
    private String beizhu;
}
